package com.kgame5.xtank3d.control {
import kgame5.enginex.GameCommand;
import kgame5.kutil.T;

/**
 * @author kk
 */
public class RemoveEntityCommand extends GameCommand{
	public static const NAME:String="RemoveEntityCommand";

	override public function execute(data:Object) : void {
		T.p(NAME);
		
		//坦克开炮动作,切换状态
		var entID:int=data as int;
		
		
		gamePlay.removeEntity(entID);
		trace("炮弹爆炸");
	}
}//end of class
}